package com.dckxx.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fhs.core.trans.anno.Trans;
import com.fhs.core.trans.constant.TransType;
import com.fhs.core.trans.vo.TransPojo;
import lombok.Data;

@Data
@TableName("t_class_student")
public class ClassStudentEntity implements TransPojo {

    private Integer id;
    @Trans(type = TransType.SIMPLE,target = ClassEntity.class, fields = "name",alias = "class")
    private Integer classId;
    @Trans(type = TransType.SIMPLE,target = StudentEntity.class, fields = "name",alias = "student")
    private Integer studentId;
}
